package com.dmm.vod.mapper;

import com.dmm.vod.entity.Teacher;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 讲师 Mapper 接口
 * </p>
 *
 * @author dmm
 * @since 2022-08-19
 */
@Mapper
public interface TeacherMapper extends BaseMapper<Teacher> {

    @Select("select * from teacher where is_deleted=1")
    List<Teacher> Logical_deletion();

}
